Determining the Cause

Chief Complaint: Heartburn

https://claude.ai/public/artifacts/e86962be-b7c5-4b21-a720-e554086cdcf2

graph TD
A[Patient with Heartburn/Reflux Symptoms] --> B[Step 1: Clinical Assessment]
B --> C{Alarm Symptoms Present?}

C -->|YES| D[🚨 Immediate EGD<br/>Alarm symptoms:<br/>• Dysphagia<br/>• Odynophagia<br/>• GI bleeding/anemia<br/>• Weight loss<br/>• Persistent vomiting<br/>• Age > 50 with new onset]

C -->|NO| E[Step 2: Empiric PPI Trial<br/>4-8 weeks]

E --> F{Symptoms Improve?}

F -->|YES| G[✓ Presumptive GERD Diagnosis<br/>Continue PPI therapy<br/>Consider step-down]

F -->|NO| H[Step 3: Upper Endoscopy EGD]

D --> I{Endoscopy Findings}
H --> I

I -->|Abnormal| J[Treat Based on Findings:<br/>• Esophagitis → Continue PPI<br/>• Barrett's → Surveillance<br/>• Stricture → Dilation + PPI<br/>• Malignancy → Oncology referral]

I -->|Normal| K[Step 4: Physiologic Testing]

K --> L[24-hr pH Monitoring<br/>± Impedance Testing]
L --> M{Pathological<br/>Reflux Confirmed?}

M -->|YES| N[GERD Confirmed<br/>Optimize PPI therapy<br/>Consider surgical referral]

M -->|NO| O[Esophageal Manometry<br/>if dysphagia present]

O --> P{Motility<br/>Disorder?}

P -->|YES| Q[Treat motility disorder:<br/>• Achalasia<br/>• Esophageal spasm<br/>• Other dysmotility]

P -->|NO| R[Step 5: Consider Alternative Dx:<br/>• Functional heartburn<br/>• H. pylori/PUD<br/>• Gallbladder disease<br/>• Cardiac causes<br/>• Eosinophilic esophagitis]

style A fill:#e1f5ff
style D fill:#ffebee
style G fill:#e8f5e9
style N fill:#e8f5e9
style C fill:#fff9c4
style F fill:#fff9c4
style M fill:#fff9c4
style P fill:#fff9c4

 


1: Initial Clinical Assessment


Step 2: Empiric Therapy (First-line)


Step 3: Endoscopy (EGD)


Step 4: Physiologic Testing

If endoscopy is normal but symptoms persist:

  1. Ambulatory 24-hour pH monitoring (± impedance testing):

    • Gold standard for diagnosing pathological acid reflux.

    • Can distinguish acid vs non-acid reflux.

  2. Esophageal manometry:

    • Evaluates for motility disorders (achalasia, spasm) if dysphagia or non-reflux etiology suspected.


Step 5: Rule Out Other Causes


✅ Summary Flowchart:

  1. Heartburn symptoms → Check for alarm features.

    • If present → Endoscopy immediately.

    • If absent → PPI trial.

  2. Improves → GERD likely.

  3. No improvement → Endoscopy.

    • If abnormal → Treat based on findings.

    • If normal → pH monitoring ± manometry.


Would you like me to make this into a visual flowchart diagram (easy to follow for teaching or clinical use)?

 

Differential Diagnosis

Gastroesophageal Reflux Disease, Esophagitis, pill esophagitis, eosinophilic esophagitis,  reflux hypersensitivity or functional heartburn, peptic ulcer disease

Pivotal Assessment Findings
History Gnawing, burning discomfort (dyspepsia) relieved by intake of certain foods or liquids (eg, ice cream, milk) or antacids Regurgitation